package com.joker.registration.hosp.repository;

import model.com.manubao.yygh.model.hosp.Hospital;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface HospitalRepository extends MongoRepository<Hospital, String> {
//Hospital指要操作的实体类，类型是String
//根据医院编码查询医院对象
Hospital getHospitalByHoscode(String hoscode);
}